<!--  Ofri Keidar 302933981 group 05 -->

<%@page import="view.WebCommons"%>
<%@page import="controller.AdministratorController"%>
<%@page import="builder.ControllerBuilder"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%
	// extract builder from session
	ControllerBuilder sysBuilder = (ControllerBuilder) session.getAttribute(WebCommons.BUILDER);

	// attach administrator controller to session
	AdministratorController controller = sysBuilder.getAdminController();
	session.setAttribute(WebCommons.CONTROLLER, controller);
	
	//keep main-menu page in session
	session.setAttribute(WebCommons.MAIN_MANU, "AdminMenu.jsp");
%>

<html>
<head>
<link rel="stylesheet" href="../style/myTemplate/style.css"
	type="text/css">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Administrator Menu</title>
</head>
<body>

	<div id="logo">
		<span class="customHeader">Welcome Administrator!</span>
	</div>

	<%--display welcome message and menu	--%>

	<div class="post">

		<div id="content">
			<h2 class="title">
				<a>What would you like to do?</a>
			</h2>

			<br>
			<table>
				<tr>
				<tr>
					<td><span class="customMenuOption">Add a new employee</span></td>
					<td><a
						href="../transactions/adminTransactions/AddEmployee.jsp"
						class="myButton">Go!</a></td>
				</tr>
				<tr>
					<td><span class="customMenuOption">Change your password</span></td>
					<td><a href="../commonPages/ChangePwd.jsp" class="myButton">Go!</a></td>
				</tr>
				<tr>
					<td><span class="customMenuOption">Logout</span></td>
					<td><a href="../Logout.jsp" class="myButton">Go!</a></td>
				</tr>
			</table>

		</div>

	</div>

</body>
</html>